package com.apr.configuration;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

import javax.validation.constraints.NotNull;

/**
 * @author dly
 */
/*@Getter
@Setter
@ConfigurationProperties(prefix = "spring.datasource.druid")
public class DruidProperties {

    @NotNull(message = "数据库用户名不能为空")
    private String username;
    @NotNull(message = "数据库密码不能为空")
    private String password;
    private String url;
    private String driverClassName;
    private Integer initialSize;
    private Integer minIdle;
    private Integer maxActive;

}*/
